# 拉取最新的JRE-21 linux amd64 镜像
FROM oscarhult/jre21

# 复制jar包到容器中
COPY ${pkg.name}.jar /tmp/

# 启动命令
CMD ["java","-jar","/tmp/${pkg.name}.jar"]
